function addComment() {
	var comment = $("#comment-containt").val();
	$.ajax({
		url : "ajax/comment_addAsAjax",
		type : "post",
		cache : false,
		dataType : "json",
		data : {
			"comment.containt" : comment,
			"comment.applicationId" : $("#application-id").val()
		},
		success : function(data) {
			if (data.hasSuccess == true) {
				var time = new Date();
				var timeStr = time.getFullYear()+"-" +(time.getMonth()+1)+"-"+time.getDate()+" "+time.getHours()+"-"+time.getMinutes()+"-"+time.getSeconds();
				var temp = "<div class=\"note\"><div class=\"note_content\">";
				temp+=comment;
				temp+="</div><div class=\"note_info\"> 发言时间：";
				temp+=timeStr;
				temp+="</div></div>";
				$("div.note_box").prepend($(temp));
				alert("添加评论成功");
			} else {
				alert("评论失败");
			}
		}
	});
}
	